home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Bank smakow / BankSmakow.air / BankSmakow.swf / scripts / air / update / events / UpdateEvent.as < prev   
Text File  |  2009-12-16  |  945b  |  35 lines

  1. package air.update.events
  2. {
  3.    import flash.events.Event;
  4.    
  5.    public class UpdateEvent extends Event
  6.    {
  7.       
  8.       public static const DOWNLOAD_COMPLETE:String = "downloadComplete";
  9.       
  10.       public static const INITIALIZED:String = "initialized";
  11.       
  12.       public static const CHECK_FOR_UPDATE:String = "checkForUpdate";
  13.       
  14.       public static const DOWNLOAD_START:String = "downloadStart";
  15.       
  16.       public static const BEFORE_INSTALL:String = "beforeInstall";
  17.        
  18.       
  19.       public function UpdateEvent(param1:String, param2:Boolean = false, param3:Boolean = false)
  20.       {
  21.          super(param1,param2,param3);
  22.       }
  23.       
  24.       override public function toString() : String
  25.       {
  26.          return "[UpdateEvent (type=" + type + ")]";
  27.       }
  28.       
  29.       override public function clone() : Event
  30.       {
  31.          return new UpdateEvent(type,bubbles,cancelable);
  32.       }
  33.    }
  34. }
  35.